routing.$inject = ['$stateProvider', '$urlRouterProvider'];

function routing($stateProvider, $urlRouterProvider) {
  $urlRouterProvider.otherwise('/navigatePage');
  $stateProvider
    .state('navigatePage', {
      url: '/navigatePage',
      template: require('../pages/navigatePage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsNumberPage', {
      url: '/fsNumberPage',
      template: require('../pages/fsNumberPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsTextareaPage', {
      url: '/fsTextareaPage',
      template: require('../pages/fsTextareaPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsLink', {
      url: '/fsLink',
      template: require('../pages/fsLinkPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsSelectPage', {
      url: '/fsSelectPage',
      template: require('../pages/fsSelectPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsDatePage', {
      url: '/fsDatePage',
      template: require('../pages/fsDatePage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsDateRangePage', {
      url: '/fsDateRangePage',
      template: require('../pages/fsDateRangePage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsLabelPage', {
      url: '/fsLabelPage',
      template: require('../pages/fsLabelPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsImagePage', {
      url: '/fsImagePage',
      template: require('../pages/fsImagePage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsTextPage', {
      url: '/fsTextPage',
      template: require('../pages/fsTextPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsPasswordPage', {
      url: '/fsPasswordPage',
      template: require('../pages/fsPasswordPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsCheckboxPage', {
      url: '/fsCheckboxPage',
      template: require('../pages/fsCheckboxPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsRadioPage', {
      url: '/fsRadioPage',
      template: require('../pages/fsRadioPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsCardPage', {
      url: '/fsCardPage',
      template: require('../pages/fsCardPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsColorPage', {
      url: '/fsColorPage',
      template: require('../pages/fsColorPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsTimePage', {
      url: '/fsTimePage',
      template: require('../pages/fsTimePage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsRadioCardPage', {
      url: '/fsRadioCardPage',
      template: require('../pages/fsRadioCardPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsCalendarDayPage', {
      url: '/fsCalendarDayPage',
      template: require('../pages/fsCalendarDayPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsCheckboxGroupPage', {
      url: '/fsCheckboxGroupPage',
      template: require('../pages/fsCheckboxGroupPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsNumberRangePage', {
      url: '/fsNumberRangePage',
      template: require('../pages/fsNumberRangePage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsMoneyPage', {
      url: '/fsMoneyPage',
      template: require('../pages/fsMoneyPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsMoneyRangePage', {
      url: '/fsMoneyRangePage',
      template: require('../pages/fsMoneyRangePage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsPercentagePage', {
      url: '/fsPercentagePage',
      template: require('../pages/fsPercentagePage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsPercentageRangePage', {
      url: '/fsPercentageRangePage',
      template: require('../pages/fsPercentageRangePage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsTypeaheadPage', {
      url: '/fsTypeaheadPage',
      template: require('../pages/fsTypeaheadPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsSensitivePage', {
      url: '/fsSensitivePage',
      template: require('../pages/fsSensitivePage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsLookupTextPage', {
      url: '/fsLookupTextPage',
      template: require('../pages/fsLookupTextPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsCustomerSelectPage', {
      url: '/fsCustomerSelectPage',
      template: require('../pages/fsCustomerSelectPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsMultipleSelectPage', {
      url: '/fsMultipleSelectPage',
      template: require('../pages/fsMultipleSelectPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsLookupMultiplePage', {
      url: '/fsLookupMultiplePage',
      template: require('../pages/fsLookupMultiplePage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsFileUploadPage', {
      url: '/fsFileUploadPage',
      template: require('../pages/fsFileUploadPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsButtonsPage', {
      url: '/fsButtonsPage',
      template: require('../pages/fsButtonsPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsButtonPage', {
      url: '/fsButtonPage',
      template: require('../pages/fsButtonPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsGridPage', {
      url: '/fsGridPage',
      template: require('../pages/fsGridPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('fsGridLayoutPage', {
      url: '/fsGridLayoutPage',
      template: require('../pages/fsGridLayoutPage.html'),
      controller: 'gridLayoutPageCtrl',
      controllerAs: 'vm'
    })
    .state('testComponentPage', {
      url: '/testComponentPage',
      template: require('../pages/testComponentPage.html'),
      controller: 'componentsPageCtrl',
      controllerAs: 'vm'
    })
    .state('layoutDemoPage', {
      url: '/layoutDemoPage',
      template: require('../pages/layoutDemoPage.html'),
      controller: 'layoutDemoCtrl',
      controllerAs: 'vm'
    });
}

angular.module('fs.waf').config(routing);
